﻿using CommandBus;
using EventBus;
using QueryExecutors;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApp.Infrastructure
{
    public static class Application
    {
        public static ICommandBus CommandBus = new InProcCommandBus();

        public static IEventBus EventBus = new InProcEventBus();

        public static IQueryExecutor Query = new QueryExecutor(new Entities.QueryPersist.EFQueryRepository());
    }
}